package com.safeneeds.linguimana.entity.dao;


import com.safeneeds.linguimana.dto.IpDataStorePort;
import com.safeneeds.linguimana.entity.PortGlutLog;
import com.safeneeds.linguimana.entity.PortVisitData;
import com.safeneeds.util.page.PageInfo;

public interface IPortGlutLogDao {
	/**
     * 得到访问日志表中的访问统计数据包装在PortVisitData类中
     * @return PortVisitData
     */
	public PortVisitData getPortVisitData();
	public PortGlutLog add(PortGlutLog log);
	/**
	 * 获取所有的日志dao
	 * @param pageInfo
	 * @param ipDataStorePort
	 * @return
	 */
	public PageInfo listLogPageDao(PageInfo pageInfo,
			IpDataStorePort ipDataStorePort);
	public void insertLog(PortGlutLog glutLog);
	/**
	 * 根据IP 当天时间
	 * @return
	 */
	public boolean existIpFromLog(String tempip,String todayTime);

}
